package subcribe;

import redis.clients.jedis.Jedis;

/**
 * @author Veng Su 1344114844@qq.com
 * @date 2018/4/22 12:03
 */
public class client {
    public static void main(String[] args) {
        Jedis jedis=new Jedis("127.0.0.1",6379);
        //发布订阅信息
        jedis.publish("laowang","hello everyone");
    }
}
